/**
 * Created by liujiangyi on 2018/10/7.
 */
window.onload = function(){
    var btn = document.getElementById("upLoad");
    btn.onclick = function(){
        var imgInputElem = document.getElementById("inputImg");
        var imgShowElem = document.getElementById("imgSel");
        imgShowElem.src = imgInputElem.value;
        console.log(imgInputElem.value);
    }

}